package com.gan.springbootdemo2.application;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Slf4j
@Controller
public class LoginController {

    @GetMapping("/")
    public String login() {
        log.info("login");
        return "index";
    }

    @GetMapping("/view")
    public String view() {
        log.info("view");
        return "view";
    }
}
